package com.hhw.demoservice.user.impl;

import com.hhw.demodao.entity.SysUser;
import com.hhw.demodao.mapper.SysUserMapper;
import com.hhw.demoservice.user.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("sysUserService")
public class SysUserServiceImpl implements SysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public SysUser getUserById(int id) {
        return sysUserMapper.queryById(id);
    }

}
